<?php include template('header','common');?>
<link rel="stylesheet" type="text/css" href="{__ROOT__}template/default/statics/css/join-tuoban.css?v={HD_VERSION}">

<div class="container">
	<div class="content">
		<div class="item">
			<?php foreach($initiate as $k => $v){?>
			<div class="top">
				<img src="{$v['school_logo']}" alt="">
				<div class="top-content">
					<span>{$v['school_name']}午托班</span>
					<span>时间:00:00——24:00</span>
				</div>
				<a href="<?php echo url('order/order/index',array('id'=>$v['id'],'sid'=>$sid))?>"><span class="top-price" style="margin-top:0;">加入</span></a>
			</div>
			<?php }?>
		</div>
	</div>
	<div class="btn-view">
		<button class="btn2 faqiBtn" sid="{$sid}">发起</button>
	</div> 
</div>
<script>
$(".faqiBtn").click(function(){
		var sid = $(this).attr('sid');
		var ajaxurl="<?php echo url('member/index/initiate')?>"+"&ist=1&sid="+sid;
		window.location.href=ajaxurl;
	});
</script>
<?php include template('footer','common');?>